#ifndef PRINTSETTING_H
#define PRINTSETTING_H

#include <QObject>

class PrintSetting : public QObject
{
    Q_OBJECT
public:
    explicit PrintSetting(QObject *parent = nullptr);

    PrintSetting(QString settingKey);

    QString settingKey;

    QString title;
    int paperWidth;
    int paperHeight;

    QString headerItem1;

    QString headerItem2;

    QString headerItem3;

    QString headerItem4;

    QString headerItem5;

    QString headerItem6;

    QString headerItem7;

    QString headerItem8;

    QString headerItem9;

    QString headerItem10;

    QString tailItem1;

    QString tailItem2;

    QString tailItem3;

    QString tailItem4;

    QString tailItem5;

    QString tailItem6;

    QString tailItem7;

    QString tailItem8;

    QString tailItem9;

    QString tailItem10;

    void setSettingKey(QString settingKey);

    void save();

    void load();
signals:

public slots:

private:
    QString settingPrefix;
};

#endif // PRINTSETTING_H
